package mx.com.crowdgine.generator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;

import mx.com.crowdgine.display.animation.Animation;
import mx.com.crowdgine.display.animation.AnimationFrame;
import mx.com.crowdgine.display.jogl.shader.ShaderObject;


public class IndividualDiversity implements Animation{
	
	private String vertexShader;
	private String fragmentShader;
	private String geometryShader;
	private String tessEvalShader;
	private String tessControlShader;
	
	private Map<String, Object> parameters = new HashMap<String,Object>();

	public IndividualDiversity(String vertexShader, String fragmentShader, String geometryShader, String tessEvalShader, String tessControlShader){
		this.fragmentShader=fragmentShader;
		this.vertexShader=vertexShader;
		this.geometryShader=geometryShader;
		this.tessEvalShader=tessEvalShader;
		this.tessControlShader=tessControlShader;
		
	}
	
	public String getVertexShader(){
		return vertexShader;
	}
	
	public void setVertexShader(String vertexShader) {
		this.vertexShader = vertexShader;
	}
	
	public String getFragmentShader(){
		return fragmentShader;
	}
	
	public void setFragmentShader(String fragmentShader) {
		this.fragmentShader = fragmentShader;
	}
	
	public String getGeometryShader(){
		return geometryShader;
	}
	
	public void setGeometryShader(String geometryShader){
		this.geometryShader=geometryShader;
	}
	
	public String getTessEvalShader(){
		return tessEvalShader;
	}
	
	public void setTessEvalShader(String tessEvalShader){
		this.tessEvalShader=tessEvalShader;
	}
	
	public String getTessControlShader(){
		return tessControlShader;
	}
	
	public void setTessControlShader(String tessControlShader){
		this.tessControlShader=tessControlShader;
	}
	
	public void setParameter(String name, Object value){
		this.parameters.put(name,value);
	}
	
	public Set<String> getParameterNames() {
		return this.parameters.keySet();
	}
	
	public Object getParameter(String name) {
		return this.parameters.get(name);
	}

	@Override
	public void setParameter(String name, Object value, int size) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public int getParameterSize(String name) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int getParameterLength(String name) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void setDynamicParameter(String name, Object value) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Object getDynamicParameter(String name) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Map<String, Object> getDynamicParameters() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ShaderObject getShaderObject() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void setShaderObject(ShaderObject shaderObject) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public List<AnimationFrame> getFrames() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public int getAnimationIndex() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public void setAnimationIndex(int animationIndex) {
		// TODO Auto-generated method stub
		
	}
	
	@Override
	public void setParameter(String name, Object value, int size, int length) {
		// TODO Auto-generated method stub
		
	}
	

}
